package cn.sheng.blog.service;

import cn.sheng.blog.pojo.Article;
import cn.sheng.blog.utils.PageRequest;
import cn.sheng.blog.utils.PageResult;
import com.github.pagehelper.PageInfo;

public interface ArticleService {
    public boolean publishArticle(Article article) ;

    void deleteById(int id);
    public boolean updateArticle(Article article);

    PageInfo<Article> findAllByPage(int page, int offset);
}
